<script setup lang="ts">
defineProps<{
  msg: string
}>()
</script>

<template>
  <div class="greetings">
    <h1 class="green">{{ msg }}</h1>
      <TresCanvas window-size>
          <!-- 这里是您的场景 -->
      </TresCanvas>
  </div>
</template>

<style scoped>
html,
body {
    margin: 0;
    padding: 0;
    height: 100%;
    width: 100%;
}
#app {
    height: 100%;
    width: 100%;
}
</style>
